import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { Field, reduxForm } from 'redux-form';

class GetStartedForm extends Component {
    render() {
        const { handleSubmit } = this.props;
        return (
            <form onSubmit={handleSubmit}>
                <Field name="name" component="input" type="text"/>
                <br/>
                <button type="submit">Submit</button>
            </form>
        );
    }
}

GetStartedForm.propTypes = {
};

// Decorate the form component
GetStartedForm = reduxForm({
  form: 'getStarted' // a unique name for this form
})(GetStartedForm);

export default GetStartedForm;
